﻿package com.obas.business.parameterpool.service
{
	import com.obas.business.parameterpool.vo.ParameterPoolListObject;
	import com.obas.flex.common.proxy.DefaultServiceProxy;

	public class ParameterPoolManagementService extends DefaultServiceProxy
	{
    	private static const SERVICE_NAME:String = "parameterPoolManagementService";

  		public function ParameterPoolManagementService() {
     		super(SERVICE_NAME);
  		}

		/**
    */
		public function 
			/* flex: com.obas.business.parameterpool.vo.ParameterPoolGrid */ 
			/* java: com.obas.business.parameterpool.vo.ParameterPoolGrid */
		findByTestcaseScriptId(
 			testcaseScriptId:Number  /* long */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("findByTestcaseScriptId", [testcaseScriptId], callback, context);
 		}

		/**
    */
		public function 
			/* flex: com.obas.model.business.TestcaseScript */ 
			/* java: com.obas.model.business.TestcaseScript */
		findTestcaseScriptByParameterId(
 			parameterId:Number  /* long */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("findTestcaseScriptByParameterId", [parameterId], callback, context);
 		}

		/**
    */
		public function 
			/* flex: void */ 
			/* java: void */
		save(
 			parameterPoolListObject:com.obas.business.parameterpool.vo.ParameterPoolListObject  /* com.obas.business.parameterpool.vo.ParameterPoolListObject */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("save", [parameterPoolListObject], callback, context);
 		}
	}
}